package com.meteor.downloader.videodownloader.utils.value

import android.os.Environment
import com.meteor.downloader.videodownloader.MdmDealApplication
import com.meteor.downloader.videodownloader.mdmdata.DataDownloadingMdm
import java.io.File

object ParamsMdmUtils {

    var mMdmInitUmp = false
    val mParseLinksList = mutableListOf<DataDownloadingMdm>()

    //正在下载列表
    val mDownloadingMdmList = mutableListOf<DataDownloadingMdm>()

    val mSaveFileMdm by lazy {
        File(
            MdmDealApplication.mMdmContext.filesDir,
            "MeteorDownloader"
        ).apply {
            if (!exists()) {
                mkdir()
            }
        }
    }

    // 存储点击结果通知
    var mCompleteVideoList = mutableListOf<DataDownloadingMdm>()
}